﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.WmsManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.WmsManagement.StoreTransferVMs
{
    public partial class StoreTransferBatchVM : BaseBatchVM<StoreTransfer, StoreTransfer_BatchEdit>
    {
        public StoreTransferBatchVM()
        {
            ListVM = new StoreTransferListVM();
            LinkedVM = new StoreTransfer_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class StoreTransfer_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._StoreTransfer._Sheet")]
        public long? SheetId { get; set; }
        [Display(Name = "_Model._StoreTransfer._SheetCode")]
        public string SheetCode { get; set; }
        [Display(Name = "_Model._StoreTransfer._Material")]
        public long? MaterialId { get; set; }
        [Display(Name = "_Model._StoreTransfer._MaterialName")]
        public string MaterialName { get; set; }
        [Display(Name = "_Model._StoreTransfer._Qty")]
        public decimal? Qty { get; set; }
        [Display(Name = "_Model._StoreTransfer._TransferDate")]
        public DateTime? TransferDate { get; set; }
        [Display(Name = "_Model._StoreTransfer._Status")]
        public FormStatusEnum? Status { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}